package org.bjtu.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Paymenttype entity. @author MyEclipse Persistence Tools
 */

public class Paymenttype extends com.janus.persistence.Entity implements java.io.Serializable {

	// Fields

	private Long id;
	private String paytname;
	private Long paytcost;
	private Long paytvalidity;

	// Constructors

	/** default constructor */
	public Paymenttype() {
	}

	/** minimal constructor */
	public Paymenttype(Long id) {
		this.id = id;
	}


	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPaytname() {
		return this.paytname;
	}

	public void setPaytname(String paytname) {
		this.paytname = paytname;
	}

	public Long getPaytcost() {
		return this.paytcost;
	}

	public void setPaytcost(Long paytcost) {
		this.paytcost = paytcost;
	}

	public Long getPaytvalidity() {
		return this.paytvalidity;
	}

	public void setPaytvalidity(Long paytvalidity) {
		this.paytvalidity = paytvalidity;
	}

}